:root {
    --primary-color: green;
    --background-color: white;
    --lightness-offset: 1.08;
    --menu-background-color: hsl(120, 100%, 95%);
    --btn-background-color: var(--menu-background-color);
    --btn-color: hsl(155, 72%, 39%);
    --btn-default-color: hsl(0, 0%, 50%);
    --border-color: hsl(240, 6%, 83%);
}

:root body.green {
    --background-color: rgb(204, 232, 207);
}

body {
    margin: 0;
    background: var(--background-color);
    font-family: system-ui, —apple-system, Segoe UI, Roboto, Emoji, Helvetica, Arial, sans-serif;
}

.flex {
    display: flex;
}

.flex-end {
    justify-content: end;
}

.flex-grow {
    flex: 1;
}

.b-r {
    box-shadow: .25rem 0 .25rem rgba(0, 0, 0, .075);
}

.b-b {
    box-shadow: 0 0.1rem .9rem rgba(0, 0, 0, .055);
}

.h-full {
    height: 100vh;
}

.p-y-1 {
    padding: 10px 0;
}

.hidden {
    display: none;
}

.aside {
    width: 12vw;
}

.aside-header {
    height: 6vh;
    font-size: 2.2vw;
    font-weight: bold;
    color: var(--primary-color);
    justify-content: center;
    align-items: center;
}

.aside-body, .main-body {
    max-height: 92.5vh;
    padding-top: 1.5vh;
}

.menu-title {
    padding-left: 1.5vw;
}

.menu-click {
    border-right: 3px solid var(--primary-color);
}

.menu-item-click {
    border-right: 3px solid var(--primary-color);
    background-color: var(--menu-background-color);
}

.menu-title:hover, .menu-item:hover {
    background-color: var(--menu-background-color);
    cursor: pointer;
}

.menu-item {
    padding-left: 2.5vw;
}

.no-auth, .no-perm {
    font-size: small;
    margin-left: 8px;
    color: var(--primary-color);
}

.main {
    width: 25vw;
}

.main-header {
    height: 6vh;
    align-items: center;
    font-size: small;
}

.refresh {
    margin-left: 15px;
    cursor: pointer;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    border: 2px solid var(--border-color);
    border-left: 1px solid transparent;
    position: relative;
}

.refresh::after {
    content: "";
    width: 5px;
    height: 5px;
    border-bottom: 2px solid var(--border-color);
    border-left: 2px solid var(--border-color);
    position: absolute;
    top: 10px;
    transform: rotate(90deg);
}

.info > div {
    margin: 0 8px;
    cursor: pointer;
}

.form {
    padding: 0 2vw;
}

.form-body-breadcrumb {
    margin-top: 5px;
    border-left: 3px solid grey;
    padding-left: 5px;
    opacity: .5;
    font-size: small;
    cursor: pointer;
}

.result {
    max-height: 97vh;
    padding: 15px;
}

.scrollbar {
    overflow: auto;
    scrollbar-width: thin;
}

.scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.scrollbar::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 8px;
}

.scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}

.scrollbar::-webkit-scrollbar-track-piece {
    background-color: #ddd;
}

.label {
    width: 30%;
    box-sizing: border-box;
    padding-right: 3px;
    justify-content: end;
    align-items: center;
}

input, textarea {
    width: 100%;
    min-height: 1.5rem;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
    outline: none;
    border-radius: .25rem;
    padding: .5rem;
    line-height: 1.25rem;
    font-size: 1rem;
    font-family: system-ui;
    background-color: var(--background-color);
}

input[type="radio"] {
    width: 0;
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

input[type="radio"] + label::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
    margin-right: .3rem;
    cursor: pointer;
}

input[type="radio"]:checked + label::before {
    background-color: var(--btn-color);
    background-clip: content-box;
    padding: .25rem;
    box-sizing: border-box;
}

[type="radio"] + label {
    margin-left: .3rem;
    margin-right: 2rem;
}

textarea:hover, textarea:focus,
input:hover, input:focus,
.btn:hover, input[type="radio"]:hover {
    filter: brightness(var(--lightness-offset));
}

button + button {
    margin-left: .8rem;
}

.btn {
    width: 4rem;
    height: 2rem;
    box-sizing: border-box;
    border: 1px solid var(--btn-color);
    border-radius: .25rem;
    font-size: .8rem;
    font-weight: bold;
    color: var(--btn-color);
    cursor: pointer;
    background-color: var(--background-color);
}


.btn:active {
    background: var(--btn-background-color) no-repeat center;
}

.btn-default {
    border: 1px solid var(--border-color);
    color: var(--btn-default-color);
}

.btn-default:active {
    background: var(--border-color) no-repeat center;
}